package cate.game.pvp.gradepvp.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBGradePvp;
import cate.game.role.Role;
import cate.game.role.RoleSimpleBase;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "天机榜返回")
public class GradePvpSixGodResp implements MsgOutput {
    @NoteField(value = "六神的快照")
    public List<RoleSimpleBase> sixGod;

    @NoteField("赛季")
    public int season;

    public GradePvpSixGodResp() {

    }

    public GradePvpSixGodResp(int season, Role role) {
        sixGod = role.getGame().pvp.gradePvp.loadSixGod(season);
        this.season = season;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGradePvp.SIX_GOD_RESP;
    }
}
